inherited FPedidoVenda_NOVO: TFPedidoVenda_NOVO
  Left = 346
  Top = 116
  Height = 545
  Caption = 'Pedido de Venda'
  Constraints.MaxHeight = 0
  Constraints.MaxWidth = 0
  Constraints.MinHeight = 0
  Constraints.MinWidth = 0
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  object Label12: TLabel [0]
    Left = 2
    Top = 21
    Width = 40
    Height = 16
    Caption = 'Codigo'
  end
  object Label16: TLabel [1]
    Left = 64
    Top = 21
    Width = 27
    Height = 16
    Caption = 'Data'
  end
  object Label31: TLabel [2]
    Left = 181
    Top = 106
    Width = 80
    Height = 16
    Caption = 'Complemento'
  end
  inherited pcCadastro: TPageControl
    Height = 511
    ActivePage = TsCadastro
    inherited TsPesquisa: TTabSheet
      inherited pnPesquisa: TPanel
        Top = 423
      end
      inherited dbgPesquisaPadra: TDBGrid
        Height = 366
        Columns = <
          item
            Expanded = False
            FieldName = 'PED_CODIGO'
            Title.Alignment = taCenter
            Width = 52
            Visible = True
          end
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'PED_PAGAMENTO'
            Title.Alignment = taCenter
            Width = 38
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_DATA'
            Title.Alignment = taCenter
            Width = 129
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_CLIENTE_DESC'
            Width = 279
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_VENDEDOR_DESC'
            Width = 91
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_VALORFINAL'
            Width = 69
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_NUMERO_TALAO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_NUMERO_COMANDA'
            Width = 80
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PED_PEDIDO_MSIGA'
            Visible = True
          end>
      end
      inherited pnPesquisaPadrao: TPanel
        object GroupBox1: TGroupBox
          Left = 692
          Top = -5
          Width = 144
          Height = 59
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object CheckBox1: TCheckBox
            Tag = 1
            Left = 1
            Top = 8
            Width = 145
            Height = 17
            Caption = 'Em Aberto'
            Color = clYellow
            ParentColor = False
            TabOrder = 0
            OnClick = CheckBox1Click
          end
          object CheckBox2: TCheckBox
            Tag = 1
            Left = 1
            Top = 24
            Width = 145
            Height = 17
            Caption = 'Encerrado'
            Color = clLime
            ParentColor = False
            TabOrder = 1
            OnClick = CheckBox1Click
          end
          object CheckBox3: TCheckBox
            Tag = 1
            Left = 1
            Top = 41
            Width = 145
            Height = 17
            Caption = 'Cancelado'
            Color = clGray
            ParentColor = False
            TabOrder = 2
            OnClick = CheckBox1Click
          end
        end
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        Height = 480
        inherited panel2: TPanel
          inherited BtnFechar: TBitBtn
            Left = 686
          end
          inherited DBNavigator1: TDBNavigator
            Hints.Strings = ()
          end
        end
        inherited panel3: TPanel
          Top = 420
          Alignment = taRightJustify
          inherited BtnConsuta: TBitBtn
            TabOrder = 5
            OnClick = BtnConsutaClick
          end
          inherited stSituacaoReg2: TStaticText
            TabOrder = 6
          end
          object BitCobranca: TBitBtn
            Left = 102
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Fechamento'
            TabOrder = 2
            OnClick = BitCobrancaClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              333333333333333333333333333333333333333FFFFFFFFFFF33330000000000
              03333377777777777F33333003333330033333377FF333377F33333300333333
              0333333377FF33337F3333333003333303333333377FF3337333333333003333
              333333333377FF3333333333333003333333333333377FF33333333333330033
              3333333333337733333333333330033333333333333773333333333333003333
              33333333337733333F3333333003333303333333377333337F33333300333333
              03333333773333337F33333003333330033333377FFFFFF77F33330000000000
              0333337777777777733333333333333333333333333333333333}
            NumGlyphs = 2
          end
          object BtnEmissao: TBitBtn
            Left = 2
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Emiss'#227'o'
            TabOrder = 3
            OnClick = BtnEmissaoClick
            Glyph.Data = {
              36010000424D3601000000000000760000002800000012000000100000000100
              040000000000C000000000000000000000001000000000000000000000000000
              8000008000000080800080000000800080008080000080808000C0C0C0000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF008F0000000000
              0000080000008F7777777777777708000000F77777777777777770000000F888
              88888888888880000000F8A288888808080880000000F88FFFFFFFFFFFFF8000
              0000FFF8888888888888FF000000888FFFFFFFFFFFF788000000888F88888888
              88F788000000888FFFFFFFFFFFF788000000888F8888888888F788000000888F
              FFFFFFFFFFF788000000888F8888888888F788000000888FFFFFFFFFF7778800
              0000888FFFFFFFFFF7F888000000888FFFFFFFFFF78888000000}
          end
          object btnNF: TBitBtn
            Left = 2
            Top = 30
            Width = 100
            Height = 25
            Caption = 'NF'
            TabOrder = 4
            OnClick = btnNFClick
            Glyph.Data = {
              36040000424D3604000000000000360000002800000010000000100000000100
              2000000000000004000000000000000000000000000000000000FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000000000
              0000000000000000000000000000000000000000000000000000000000000000
              0000000000000000000000000000000000000000000000000000DEDEDE005252
              52009C9C9C00737373009C9C9C009C9C9C009C9C9C00A5A5A500636363005252
              5200636363007373730063636300636363007373730000000000DEDEDE006363
              6300DEDEDE00F7FFFF00DEDEDE00FFFFFF005252520042424200525252006363
              6300DEDEDE00FFFFFF00F7FFFF00F7FFFF006363630000000000CECECE00A5A5
              A500DEDEDE00F7FFFF0052525200FFFFFF003131310042424200A5A5A5006363
              6300CECECE009C9C9C00CECECE00FFFFFF004242420000000000CECECE006363
              6300FFFFFF00CECECE0052525200FFFFFF00A5A5A500A5A5A500C6C6C600C6C6
              C600FFFFFF00C6C6C600CECECE00CECECE005252520000000000CECECE00CECE
              CE0073737300F7FFFF00C6C6C600A5A5A500C6C6C600A5A5A500A5A5A500CECE
              CE00FFFFFF00FFFFFF00F7FFFF0063636300DEDEDE0000000000A5A5A5005252
              5200636363009C9C9C00A5A5A500A5A5A500A5A5A500CECECE00A5A5A5009C9C
              9C00C6C6C600A5A5A5009C9C9C00525252004242420000000000000000000000
              0000000000000000000000000000000000000000000000000000000000000000
              0000000000000000000000000000000000000000000000000000FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
          end
          object btnCancelaPedido: TBitBtn
            Left = 203
            Top = 5
            Width = 111
            Height = 25
            Caption = 'Cancelamento'
            TabOrder = 7
            OnClick = btnCancelaPedidoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              0400000000000001000000000000000000001000000000000000000000000000
              8000008000000080800080000000800080008080000080808000C0C0C0000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
              33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
              993337777F777F3377F3393999707333993337F77737333337FF993399933333
              399377F3777FF333377F993339903333399377F33737FF33377F993333707333
              399377F333377FF3377F993333101933399377F333777FFF377F993333000993
              399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
              99333773FF777F777733339993707339933333773FF7FFF77333333999999999
              3333333777333777333333333999993333333333377777333333}
            NumGlyphs = 2
          end
        end
        object Panel4: TPanel
          Left = 1
          Top = 36
          Width = 842
          Height = 29
          Align = alTop
          Color = clSilver
          TabOrder = 2
          object Label34: TLabel
            Left = 6
            Top = 5
            Width = 42
            Height = 15
            Caption = 'C'#243'digo:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object DBText10: TDBText
            Left = 51
            Top = 5
            Width = 49
            Height = 17
            DataField = 'PED_CODIGO'
            DataSource = dsCadastro
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object Label4: TLabel
            Left = 113
            Top = 5
            Width = 44
            Height = 15
            Caption = 'Cliente:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbCliente: TLabel
            Left = 161
            Top = 5
            Width = 332
            Height = 17
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object Label36: TLabel
            Left = 503
            Top = 5
            Width = 54
            Height = 15
            Caption = 'Qtd Itens:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbQtdItens: TLabel
            Left = 572
            Top = 5
            Width = 27
            Height = 17
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object Label88: TLabel
            Left = 606
            Top = 5
            Width = 83
            Height = 15
            Caption = 'Total dos itens:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbValorTotal: TLabel
            Left = 686
            Top = 5
            Width = 93
            Height = 17
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
        end
        object PCPedido: TPageControl
          Left = 1
          Top = 65
          Width = 842
          Height = 355
          ActivePage = TSItensPedido
          Align = alClient
          TabOrder = 3
          object TSAbertura: TTabSheet
            Caption = 'Abertura'
            object Label1: TLabel
              Left = 86
              Top = 3
              Width = 71
              Height = 16
              Caption = 'Data Pedido'
            end
            object Label3: TLabel
              Left = 2
              Top = 2
              Width = 40
              Height = 16
              Caption = 'Codigo'
            end
            object Label5: TLabel
              Left = 2
              Top = 139
              Width = 94
              Height = 16
              Caption = 'Cliente (F8) (F9)'
            end
            object Label13: TLabel
              Left = 250
              Top = 181
              Width = 55
              Height = 16
              Caption = 'Vendedor'
            end
            object Label15: TLabel
              Left = 458
              Top = 181
              Width = 70
              Height = 16
              Caption = '%Comiss'#227'o'
              FocusControl = DBEPerComissao
            end
            object Label11: TLabel
              Left = 4
              Top = 227
              Width = 102
              Height = 16
              Caption = 'Tipo de Opera'#231#227'o'
            end
            object Label7: TLabel
              Left = 125
              Top = 100
              Width = 129
              Height = 16
              Caption = 'Comercial (Atendente)'
            end
            object Label8: TLabel
              Left = 50
              Top = 181
              Width = 45
              Height = 16
              Caption = 'Contato'
            end
            object LbFechamento: TLabel
              Left = 4
              Top = 298
              Width = 90
              Height = 16
              Caption = 'LbFechamento'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clRed
              Font.Height = -13
              Font.Name = 'MS Sans Serif'
              Font.Style = []
              ParentFont = False
            end
            object Label9: TLabel
              Left = 3
              Top = 53
              Width = 49
              Height = 16
              Caption = 'N'#186' Tal'#227'o'
            end
            object Label10: TLabel
              Left = 0
              Top = 95
              Width = 76
              Height = 16
              Caption = 'Data Entrega'
            end
            object Label29: TLabel
              Left = 2
              Top = 181
              Width = 37
              Height = 16
              AutoSize = False
              Caption = 'CV'
            end
            object LbNF: TLabel
              Left = 4
              Top = 282
              Width = 33
              Height = 16
              Caption = 'LbNF'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clRed
              Font.Height = -13
              Font.Name = 'MS Sans Serif'
              Font.Style = []
              ParentFont = False
            end
            object Label30: TLabel
              Left = 201
              Top = 3
              Width = 103
              Height = 16
              Caption = 'Data Fechamento'
            end
            object Label42: TLabel
              Left = 147
              Top = 53
              Width = 83
              Height = 16
              Caption = 'Local Estoque'
            end
            object DBDTData: TDBDateEdit
              Left = 86
              Top = 19
              Width = 108
              Height = 22
              DataField = 'PED_DATA'
              DataSource = dsCadastro
              Ctl3D = False
              ButtonWidth = 26
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 1
            end
            object GBSituacao: TGroupBox
              Left = 364
              Top = -1
              Width = 257
              Height = 74
              Caption = '  Situa'#231#227'o  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 2
              object Label2: TLabel
                Left = 14
                Top = 22
                Width = 27
                Height = 16
                Caption = 'Data'
              end
              object DBRGSituacao: TDBRadioGroup
                Left = 159
                Top = 0
                Width = 98
                Height = 74
                DataField = 'PED_SITUACAO'
                DataSource = dsCadastro
                Items.Strings = (
                  'Em aberto'
                  'Encerrado'
                  'Cancelado')
                ReadOnly = True
                TabOrder = 0
                Values.Strings = (
                  '0'
                  '1'
                  '2')
              end
              object DBDTdataSituacao: TDBDateEdit
                Left = 14
                Top = 42
                Width = 121
                Height = 22
                DataField = 'PED_DATASITUACAO'
                DataSource = dsCadastro
                Ctl3D = False
                ButtonWidth = 26
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 1
              end
            end
            object DBRGNatureza: TDBRadioGroup
              Left = 620
              Top = -1
              Width = 159
              Height = 74
              Caption = '  Natureza  '
              Ctl3D = False
              DataField = 'PED_NATUREZA'
              DataSource = dsCadastro
              Items.Strings = (
                'Mercadoria e Servi'#231'o'
                'Mercadoria '
                'Servi'#231'o')
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 3
              Values.Strings = (
                '0'
                '1'
                '2')
            end
            object DBLCBCliente: TDBLookupComboBox
              Left = 2
              Top = 157
              Width = 430
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o'
              Ctl3D = False
              DataField = 'PED_CLIENTE'
              DataSource = dsCadastro
              KeyField = 'CLI_CODIGO'
              ListField = 'CLI_RAZAO'
              ListSource = DSCliente
              ParentCtl3D = False
              TabOrder = 8
              OnExit = DBLCBClienteExit
              OnKeyDown = DBLCBClienteKeyDown
            end
            object DBLCBVendedor: TDBLookupComboBox
              Left = 250
              Top = 199
              Width = 194
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o'
              Ctl3D = False
              DataField = 'PED_VENDEDOR'
              DataSource = dsCadastro
              KeyField = 'VEND_CODIGO'
              ListField = 'VEND_IDENT'
              ListSource = DSVendedor
              ParentCtl3D = False
              TabOrder = 12
              OnExit = DBLCBVendedorExit
              OnKeyDown = DBLCBVendedorKeyDown
            end
            object DBEPerComissao: TDBEdit
              Left = 458
              Top = 199
              Width = 64
              Height = 22
              Ctl3D = False
              DataField = 'PED_PERCCOMISSAO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 13
            end
            object DBLCBTipoVenda: TDBLookupComboBox
              Left = 4
              Top = 245
              Width = 766
              Height = 22
              Ctl3D = False
              DataField = 'PED_TIP_VENDA'
              DataSource = dsCadastro
              KeyField = 'TIPVEND_CODIGO'
              ListField = 'cod_descricao'
              ListSource = DSTipoVenda
              ParentCtl3D = False
              ParentShowHint = False
              ShowHint = True
              TabOrder = 14
              OnEnter = DBLCBTipoVendaEnter
              OnExit = DBLCBTipoVendaExit
              OnKeyDown = DBLCBTipoVendaKeyDown
            end
            object DBEComercialAtendente: TDBEdit
              Left = 126
              Top = 118
              Width = 320
              Height = 22
              Ctl3D = False
              DataField = 'PED_ATENDENTE_CLI'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 6
            end
            object DBEContato: TDBEdit
              Left = 50
              Top = 199
              Width = 190
              Height = 22
              Ctl3D = False
              DataField = 'PED_CONTATO_CLI'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 11
            end
            object RxDBCCV: TRxDBCalcEdit
              Left = 2
              Top = 199
              Width = 37
              Height = 22
              DataField = 'PED_CV'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 0
              DisplayFormat = '0'
              ButtonWidth = 0
              MaxLength = 3
              MaxValue = 100.000000000000000000
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 10
              ZeroEmpty = False
            end
            object DBNTalao: TDBEdit
              Left = 2
              Top = 72
              Width = 137
              Height = 22
              Ctl3D = False
              DataField = 'PED_NUMERO_TALAO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 4
            end
            object DBDatePrevisao: TDBDateEdit
              Left = 0
              Top = 116
              Width = 109
              Height = 23
              DataField = 'PED_DATA_ENTREGA'
              DataSource = dsCadastro
              Ctl3D = False
              ButtonWidth = 26
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 5
            end
            object BtnConsultaCredito: TBitBtn
              Tag = 1
              Left = 457
              Top = 157
              Width = 149
              Height = 23
              Caption = 'Consulta Cr'#233'dito'
              TabOrder = 9
              TabStop = False
              OnClick = BtnConsultaCreditoClick
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                04000000000000010000130B0000130B00001000000000000000000000000000
                800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                33033333333333333F7F3333333333333000333333333333F777333333333333
                000333333333333F777333333333333000333333333333F77733333333333300
                033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                33333377333777733333307F8F8F7033333337F333F337F3333377F8F9F8F773
                3333373337F3373F3333078F898F870333337F33F7FFF37F333307F99999F703
                33337F377777337F3333078F898F8703333373F337F33373333377F8F9F8F773
                333337F3373337F33333307F8F8F70333333373FF333F7333333330777770333
                333333773FF77333333333370007333333333333777333333333}
              NumGlyphs = 2
            end
            object DBRGFormaPagto: TDBRadioGroup
              Left = 454
              Top = 100
              Width = 182
              Height = 51
              Caption = '  Forma de Pagamento  '
              Columns = 2
              Ctl3D = False
              DataField = 'PED_FORMA_PAGTO'
              DataSource = dsCadastro
              Items.Strings = (
                'A Vista'
                'Faturado')
              ParentCtl3D = False
              TabOrder = 7
              Values.Strings = (
                '0'
                '1')
            end
            object edCodigo: TDBEdit
              Left = 1
              Top = 19
              Width = 75
              Height = 22
              TabStop = False
              AutoSize = False
              Ctl3D = False
              DataField = 'PED_CODIGO'
              DataSource = dsCadastro
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 0
            end
            object BitBtnConsultaDebito: TBitBtn
              Tag = 1
              Left = 624
              Top = 157
              Width = 149
              Height = 23
              Caption = 'Consulta D'#233'bito'
              TabOrder = 15
              TabStop = False
              OnClick = BitBtnConsultaDebitoClick
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                04000000000000010000130B0000130B00001000000000000000000000000000
                800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                33033333333333333F7F3333333333333000333333333333F777333333333333
                000333333333333F777333333333333000333333333333F77733333333333300
                033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                33333377333777733333307F8F8F7033333337F333F337F3333377F8F9F8F773
                3333373337F3373F3333078F898F870333337F33F7FFF37F333307F99999F703
                33337F377777337F3333078F898F8703333373F337F33373333377F8F9F8F773
                333337F3373337F33333307F8F8F70333333373FF333F7333333330777770333
                333333773FF77333333333370007333333333333777333333333}
              NumGlyphs = 2
            end
            object RLReport1: TRLReport
              Left = -120
              Top = 296
              Width = 816
              Height = 1056
              DataSource = DSRelatorio
              DefaultFilter = RLDraftFilter1
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              Margins.TopMargin = 15.000000000000000000
              PageSetup.PaperSize = fpLetter
              ShowProgress = False
              object RLBand1: TRLBand
                Left = 38
                Top = 57
                Width = 740
                Height = 114
                BandType = btColumnHeader
                Borders.Sides = sdCustom
                Borders.DrawLeft = False
                Borders.DrawTop = False
                Borders.DrawRight = False
                Borders.DrawBottom = True
                Borders.FixedBottom = True
                object RLDBText1: TRLDBText
                  Left = 185
                  Top = 5
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_FANTASIA'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -16
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  Text = '-'
                  BeforePrint = RLDBText1BeforePrint
                end
                object RLDBText3: TRLDBText
                  Left = 185
                  Top = 27
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText3BeforePrint
                end
                object RLDBText4: TRLDBText
                  Left = 185
                  Top = 43
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText4BeforePrint
                end
                object RLDBText5: TRLDBText
                  Left = 185
                  Top = 59
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText5BeforePrint
                end
                object RLDBText6: TRLDBText
                  Left = 185
                  Top = 75
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText6BeforePrint
                end
                object RLDBText7: TRLDBText
                  Left = 568
                  Top = 5
                  Width = 148
                  Height = 19
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -15
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText7BeforePrint
                end
                object RLDBText8: TRLDBText
                  Left = 586
                  Top = 26
                  Width = 131
                  Height = 20
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -15
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText8BeforePrint
                end
                object RLDBText24: TRLDBText
                  Left = 586
                  Top = 46
                  Width = 131
                  Height = 19
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'PED_NUMERO_TALAO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -15
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText24BeforePrint
                end
                object RLDBText25: TRLDBText
                  Left = 558
                  Top = 66
                  Width = 159
                  Height = 17
                  Alignment = taRightJustify
                  DataField = 'PED_DATA_ENTREGA'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -15
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText25BeforePrint
                end
                object RLDBText26: TRLDBText
                  Left = 558
                  Top = 93
                  Width = 159
                  Height = 17
                  Alignment = taRightJustify
                  DataField = 'PED_DATA_ENTREGA'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -15
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText26BeforePrint
                end
                object RLLabel34: TRLLabel
                  Left = 50
                  Top = 93
                  Width = 100
                  Height = 18
                  Alignment = taCenter
                  Caption = '-------------------'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clRed
                  Font.Height = -16
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLImage1: TRLImage
                  Left = 4
                  Top = 9
                  Width = 180
                  Height = 65
                  Picture.Data = {
                    0A544A504547496D616765EE0C0000FFD8FFE000104A46494600010101006000
                    600000FFE1001645786966000049492A0008000000000000000000FFDB004300
                    080606070605080707070909080A0C140D0C0B0B0C1912130F141D1A1F1E1D1A
                    1C1C20242E2720222C231C1C2837292C30313434341F27393D38323C2E333432
                    FFDB0043010909090C0B0C180D0D1832211C2132323232323232323232323232
                    3232323232323232323232323232323232323232323232323232323232323232
                    3232323232FFC0001108004000B003012200021101031101FFC4001F00000105
                    01010101010100000000000000000102030405060708090A0BFFC400B5100002
                    010303020403050504040000017D010203000411051221314106135161072271
                    14328191A1082342B1C11552D1F02433627282090A161718191A25262728292A
                    3435363738393A434445464748494A535455565758595A636465666768696A73
                    7475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9
                    AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4
                    E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F010003010101010101010101
                    0000000000000102030405060708090A0BFFC400B51100020102040403040705
                    040400010277000102031104052131061241510761711322328108144291A1B1
                    C109233352F0156272D10A162434E125F11718191A262728292A35363738393A
                    434445464748494A535455565758595A636465666768696A737475767778797A
                    82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6
                    B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2
                    F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00F7D1D0543717115B4465
                    9A45441DCD2CF3A5BC2F2C8708A326B8DBDBE96FE6F318E147DC407EE8FF001A
                    F2734CD218287793D91BE1F0EEABF234AF3C44E73F6588051FC4FD7F2ADEB376
                    92CE091B966404FE55C2E3A8F5E8057736231636E0F68D7F9579F9163ABE2EAD
                    4955775A7A23A3174614A294516A8A28AFA5B9C014519A28B80514669334EE02
                    D1466933400B4519A3340051466933400B4526EF6A5A5700A28CD19A60145266
                    9327D0D00739E23BACB476AA78FBCFFD2B049EE6AEEAEE5F569FBE085FC80A6E
                    9D009EF9430F9501723D6BF36CCAACB138D95DF5B7DC7B9412A545316DF4CB89
                    D0B90A8854FDFEA47D2B0F41F1A695E09F84BE16B9D456673716CA91450282CC
                    40258F240007739EF5DF766FA1AF15D6B428F59F847E0666D5F4DD3E48213B45
                    FCFE52C9B94676B60F2303F3AFACE1AC3C20A517DD7EA79989AB2A8D3677307C
                    5A82EA04B8B6F07F8B268645DD1C91E9C595C7A820E0FE1537893E2BE95E188F
                    4D6BED3353DF7F69F6A58C46AAF1AFF75C330C37B57826AB657FA1DADB94F13D
                    A5E231F2D61D3754790C600C8CA8C607A7BD68F8EEE2FAFF00C39E0CBEBE9249
                    A5B8D2E54134AD93232C9EBDCE0AFE75F59F558732D746731EF3E21F885A6F86
                    FC39A66B7776B7725BEA0544691052EBB90B8CE580E82B22EFE32E8565A2697A
                    AC961A91835133AC4AA89B97CA6556DDF377DC318AF3EF887E21D1B55F86FE16
                    D3EC35086E2EED9A2F3A28DB2D1E20653918F5C0AE5B5CE7E1EF82F8EB2EA5FF
                    00A322A54F0D1697377B0CF6293E3668F0D9477B2E81E208ED25384B87B5511B
                    FF00BAE5B07A1E87B576FE1BF11D8F8A3448355D38B9825C8DB20C3230382A47
                    A8AF1CF12123F675F0D107AC90FE3F7EBACF81607FC2BF7F6BF97F92D6552941
                    52E78F476116B55F8C9A0E9BAFDC68F1D86A97D730CA613F648438671D554641
                    241C8E9DAAD5B7C4FB196CB50BCBBD0F5DD3ADECA0F399EF6CCC624F98284539
                    E589238AF15D1EF2DB47F8CED75A84AB6F05BEAD70659243F70167C13F5C8AF5
                    3F889E2BD075FF00875ADDBE95AADB5ECD1471C92244DB8AA09141247A64D554
                    A118CA314B7EA03A0F8DDA3DD452CB6DA07882E2284665921B55758C609F9886
                    E381DEAF697F17F40D5B4DD5AF21B6BE8CE9907DA248A48D774899C12B862383
                    8CE7D4579C7C32F11E8FA37833C5169A96A10DB5C5CAB186291B064FDC91C7AF
                    3C5729E0D52344F17E41CAE82C0E7B7EF131FE7DAB4961A0B9B47A580F66B5F8
                    D9A45F3482CBC3FE21BA31005C416AB26C0738276B1C743F9559D2BE30689AD4
                    178F65A6EAD2CF6B1897ECA96E1A5994B053B00639232323AE3E95C87C00E27F
                    1481C623B5FF00DAD5CC7C11FF00928F6BD3FE3D67FE9533A14D73E9F0F981AF
                    E1BF8BDE2593C4D1A6A2971A859E64DD6965641A73E83039C8EFF4AF45D57E2B
                    69BA368BA6EA57DA3EAF07F683CA896F2421254298CEE048C0E78AF17F87DA95
                    968DF13E2BCD4AE63B58229AE564925380A70C39F439AEBFE376AF61ADE93E1A
                    BCD36F22BBB569EE1449136E52404CF3EC6AEA5283AD18DB46075BA5FC6DF0DE
                    AFAD586956D6BA80B8BC916242E881519BA06F9BF9669A7E36E8325FC96765A5
                    6B37CE8CCA0DADB87DF8EEA37671EF8AD1F84B676C3E1BE8B30B7884AEACECFB
                    06E2DBDB9CF5CFBD789FC2CD52C742F1EDBDDEA7751DA5BC71CC8F249C2AB1E0
                    027EA0D671A54E4E765B01EC7A4FC62D0754F105BE8CF63AA595D4F2F9205D42
                    ABB5FB2B0DD9193C74AF2DD0350BE7F8E0B035FDDB43FDB770A6333BEDC07930
                    36E718E2ABCD7D6FA9FC7586F2CA613DBCDAD44F1489C8900DA323D47CA68F0F
                    FF00C9774FFB0EDC8FFC7E4FF1AD634A104F4FB207B5EB09B3559F8E18823F21
                    51E9F32C17A858E1581427D3D2B53C496C43457607006C7FE9582464107F1AFC
                    9B33A32C36364DAD2F7FBCF72835568A475DFDEEDC1AE23C31A1BEB7F0AFC289
                    1DA68F70D15B063FDA96867550411F280460E71F856A41A95C5B2152EAD1807E
                    FF0061F5AB3F0C483F0CBC3B8208FB1A8E3F1AFA8E1EAEAA539B5BDD7EA79B89
                    A4E9B499963C07719E746F04E3FEC0EDFF00C55695F68BE23D4ACC5A5F8F0BDC
                    DB2905619B4F91D011C0C02F8181D2BB0C54575E70B597ECC13CFD87CBDE70BB
                    B1C67DB35F44E6CE53CD2C3C3516A925E25A699E0991ACE6304C3FB15C6D7001
                    C0CB72304722B4A4F07DFCD6F05A4DA7F835E1B7DC6185B4A72B1EE2376D1BF8
                    CE074EB8AD0D0BC33A8E8BA8DACEDA8DBDCC4B67F659C0B731B36D25D1FEF36E
                    219A4F4FF58DD78AC8BAF0B5E6ACFABA4565696EF25EDC30BB9322591590285E
                    173B4E7AE7181D29F35D817A6F0EEB53E99169B343E1392C233FBAB57D35CC68
                    467EEA97C7AF41EB4ED2EC35DB0B378F49B8F0ADB5AAC8DB92DAC6454120386C
                    E24033918FC299ADF82D6779974AB0D3E28E6B5685777C9F6594B03E7460291B
                    B8078DBCA839EF504BE0EBC139F2ED34DF223BBB89D635DAA67F34B1CB6E8D94
                    6D040C60F53C8E84BA6AD7024BFF000A6A7A9DD9B8BFB2F07DD5C30C6F9F4B77
                    72A3DCBE4819150E93A1DE4714F3E95078420475686678B49923DCBC651BE719
                    1D3834FB6F09DEDA0FB24765A7B4A224316A133348D0910F9423E819B0475240
                    C13C6692CBC21796F279F2D8D84D0AC90B0B29245284245221248882F1BD71F2
                    FF000F5A77F30223E0499720E8FE08181FF4076E3FF1EAB96FE16D5ED6CAE2CE
                    DED3C2305ADC8C4F0C7A638593FDE01FE6FC6AE1F0DDD2F83F4FD29BECF7125B
                    4B1C8F0393E548AAE5BCAC907E50300123F8471DAB053C2DAADC697ADDB5A595
                    A5A8D422BAB231BC8C8B06E7621970BF32E1CF4C74A399BDD81A9A6F87B59D29
                    A6FECB8BC296665004A2DB4D9137819C6EC3FB9C7D4D4761E14D574AB9FB569F
                    69E11B4B855204D0696E8D83D790F9C55AD2FC337167E2A7D49D21D9E65CBF9A
                    9200EE2570C14A84048181F7988054607A41AA7842EEF2FEE1D64824B242D35B
                    5B48C70F248C8640FC100623600F39F39F2381996F5DC086F3C25A86A170D777
                    961E0DB89E53932CBA533B3F1DC97C9A83FE11CBBB93FD9274FF0009347684C8
                    90B68D2F9685BA95CB6D24F19C7B5492783AE9E6131D2F499A37176A2CE59088
                    E032B44559484EBFBB6CE3079E0F5357F49F0C5D58F889AFA4F2DD04B71279C2
                    50ACE2462406509938C81F331C6D04535276DC075B69FE26D2AC161B49BC396D
                    690A92B1C1A7CC15475385127F2ACBFF00845AF359FF00898CBA6F83E6927F99
                    A59F47937B1F53B9B39FAD5CD67C1F79A8DCDEF97343F656DD3DBC4491999CA7
                    981BE5202ED4201C1FF5AD91C0CEE786B49934AB29D2548E379AE1E6DA8E180C
                    E39E1540CE3A018FAD0A5657406058F84B55D32E45CD8597842D6E1410B2C1A5
                    BA3007B021F35674DF094F6FAE26A177A6F8637EF695A6B5D38A4E5CF3B83963
                    8392726BB1C5152E6C0865852689A39006561822B8DBEB0934F9B63E4C67EE3F
                    63EDF5AEDBDB22A39A08E7468E540CA7A835E4E6995C31D0ED25B337C3E21D17
                    DD1C1938C91C7A115DC69E31A7DB7007EED781D07158977E1C61B8DAC9C7647F
                    F1ADEB48DA2B58636C6E5400E2BCEC8B015F095AA46AAB68BF33A3175A15629C
                    4B1451457D31C026293683D69D452B0098A314B453B0098A314B45002628DB4B
                    4500263DE8C52D140098A31EF4B45160131463DE968A0028A28A00FFD9}
                  BeforePrint = RLImage1BeforePrint
                end
                object RLDBText12: TRLDBText
                  Left = 185
                  Top = 92
                  Width = 374
                  Height = 18
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'EMP_ENDERECO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText12BeforePrint
                end
              end
              object RLBand2: TRLBand
                Left = 38
                Top = 171
                Width = 740
                Height = 86
                BandType = btColumnHeader
                Borders.Sides = sdCustom
                Borders.DrawLeft = False
                Borders.DrawTop = False
                Borders.DrawRight = False
                Borders.DrawBottom = True
                Borders.FixedBottom = True
                object RLLabel2: TRLLabel
                  Left = 8
                  Top = 2
                  Width = 45
                  Height = 15
                  Caption = 'Cliente:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText9: TRLDBText
                  Left = 84
                  Top = 2
                  Width = 62
                  Height = 14
                  DataField = 'CLI_RAZAO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText9BeforePrint
                end
                object RLLabel3: TRLLabel
                  Left = 8
                  Top = 18
                  Width = 59
                  Height = 15
                  Caption = 'Endere'#231'o:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edEndereco: TRLDBText
                  Left = 84
                  Top = 18
                  Width = 253
                  Height = 14
                  AutoSize = False
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel4: TRLLabel
                  Left = 8
                  Top = 34
                  Width = 39
                  Height = 15
                  Caption = 'Bairro:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edBairro: TRLDBText
                  Left = 84
                  Top = 34
                  Width = 253
                  Height = 14
                  AutoSize = False
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel5: TRLLabel
                  Left = 342
                  Top = 34
                  Width = 46
                  Height = 15
                  Caption = 'Cidade:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edCidade: TRLDBText
                  Left = 400
                  Top = 34
                  Width = 242
                  Height = 14
                  AutoSize = False
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel6: TRLLabel
                  Left = 648
                  Top = 34
                  Width = 19
                  Height = 14
                  Caption = 'UF:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edUF: TRLDBText
                  Left = 672
                  Top = 34
                  Width = 41
                  Height = 14
                  AutoSize = False
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel7: TRLLabel
                  Left = 8
                  Top = 50
                  Width = 65
                  Height = 15
                  Caption = 'CNPJ/CPF:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText14: TRLDBText
                  Left = 400
                  Top = 50
                  Width = 242
                  Height = 14
                  AutoSize = False
                  DataField = 'CLI_INSCESTADUAL'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText14BeforePrint
                end
                object RLLabel8: TRLLabel
                  Left = 342
                  Top = 50
                  Width = 53
                  Height = 15
                  Caption = 'Insc. Est:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText15: TRLDBText
                  Left = 84
                  Top = 50
                  Width = 253
                  Height = 14
                  AutoSize = False
                  DataField = 'CLI_CPFCNPJ'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText15BeforePrint
                end
                object RLLabel9: TRLLabel
                  Left = 8
                  Top = 66
                  Width = 34
                  Height = 15
                  Caption = 'Fone:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText16: TRLDBText
                  Left = 84
                  Top = 66
                  Width = 253
                  Height = 14
                  AutoSize = False
                  DataField = 'CLI_FONE'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText16BeforePrint
                end
                object RLLabel31: TRLLabel
                  Left = 454
                  Top = 18
                  Width = 31
                  Height = 15
                  Caption = 'CEP:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edCep: TRLDBText
                  Left = 496
                  Top = 18
                  Width = 34
                  Height = 14
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel35: TRLLabel
                  Left = 342
                  Top = 18
                  Width = 51
                  Height = 15
                  Caption = 'N'#250'mero:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object edNumero: TRLDBText
                  Left = 400
                  Top = 18
                  Width = 52
                  Height = 14
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText13: TRLDBText
                  Left = 342
                  Top = 2
                  Width = 76
                  Height = 14
                  DataField = 'CLI_FANTASIA'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel36: TRLLabel
                  Left = 342
                  Top = 66
                  Width = 49
                  Height = 15
                  Caption = 'Contato:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText27: TRLDBText
                  Left = 400
                  Top = 66
                  Width = 242
                  Height = 14
                  AutoSize = False
                  DataField = 'CLI_CONTATO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
              end
              object RLBand3: TRLBand
                Left = 38
                Top = 257
                Width = 740
                Height = 24
                BandType = btColumnHeader
                Borders.Sides = sdCustom
                Borders.DrawLeft = False
                Borders.DrawTop = False
                Borders.DrawRight = False
                Borders.DrawBottom = True
                Borders.FixedBottom = True
                Font.Charset = DEFAULT_CHARSET
                Font.Color = clBlack
                Font.Height = -15
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                object RLLabel10: TRLLabel
                  Left = 442
                  Top = 3
                  Width = 28
                  Height = 15
                  Caption = 'QTD'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel11: TRLLabel
                  Left = 121
                  Top = 3
                  Width = 59
                  Height = 15
                  Caption = 'Descri'#231#227'o'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel12: TRLLabel
                  Left = 477
                  Top = 3
                  Width = 77
                  Height = 15
                  Caption = 'Valor Unit'#225'rio'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel13: TRLLabel
                  Left = 577
                  Top = 3
                  Width = 61
                  Height = 15
                  Caption = 'Valor Total'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel14: TRLLabel
                  Left = 3
                  Top = 3
                  Width = 44
                  Height = 15
                  Alignment = taCenter
                  Caption = 'C'#243'digo'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel1: TRLLabel
                  Left = 645
                  Top = 3
                  Width = 46
                  Height = 15
                  Alignment = taCenter
                  Caption = 'ICMS %'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel19: TRLLabel
                  Left = 701
                  Top = 3
                  Width = 32
                  Height = 15
                  Alignment = taCenter
                  Caption = 'IPI %'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel32: TRLLabel
                  Left = 50
                  Top = 3
                  Width = 26
                  Height = 15
                  Alignment = taCenter
                  Caption = 'Ref.'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel33: TRLLabel
                  Left = 381
                  Top = 3
                  Width = 33
                  Height = 15
                  Caption = 'Local'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
              end
              object RLBand4: TRLBand
                Left = 38
                Top = 281
                Width = 740
                Height = 19
                Borders.Sides = sdCustom
                Borders.DrawLeft = False
                Borders.DrawTop = False
                Borders.DrawRight = False
                Borders.DrawBottom = True
                Borders.FixedBottom = True
                object RLDBText17: TRLDBText
                  Left = 439
                  Top = 2
                  Width = 36
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'ITENSPED_QUANTIDADE'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText18: TRLDBText
                  Left = 121
                  Top = 2
                  Width = 255
                  Height = 14
                  AutoSize = False
                  DataField = 'PROD_DESCRICAOSAI'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText19: TRLDBText
                  Left = 476
                  Top = 2
                  Width = 78
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'ITENSPED_VALORUNIT'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText20: TRLDBText
                  Left = 556
                  Top = 2
                  Width = 83
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'ITENSPED_VALORTOTAL'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText21: TRLDBText
                  Left = 2
                  Top = 2
                  Width = 46
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'PROD_CODIGO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText22: TRLDBText
                  Left = 647
                  Top = 2
                  Width = 44
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'ITENSPED_PERC_ICMS'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText23: TRLDBText
                  Left = 703
                  Top = 2
                  Width = 30
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  DataField = 'ITENSPED_PERC_IPI'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText10: TRLDBText
                  Left = 50
                  Top = 3
                  Width = 68
                  Height = 14
                  AutoSize = False
                  DataField = 'PROD_REFERENCIA'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBText2: TRLDBText
                  Left = 381
                  Top = 2
                  Width = 49
                  Height = 14
                  AutoSize = False
                  DataField = 'ID_LOCAL'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
              end
              object RLBand6: TRLBand
                Left = 38
                Top = 300
                Width = 740
                Height = 322
                AlignToBottom = True
                BandType = btSummary
                BeforePrint = RLBand6BeforePrint
                object RLMemo1: TRLMemo
                  Left = 102
                  Top = 209
                  Width = 86
                  Height = 74
                  Alignment = taCenter
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo2: TRLMemo
                  Left = 274
                  Top = 209
                  Width = 86
                  Height = 74
                  Alignment = taCenter
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo3: TRLMemo
                  Left = 445
                  Top = 209
                  Width = 86
                  Height = 74
                  Alignment = taCenter
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel16: TRLLabel
                  Left = 262
                  Top = 293
                  Width = 192
                  Height = 14
                  AutoSize = False
                  Caption = 
                    '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                    '- - - - '
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel17: TRLLabel
                  Left = 246
                  Top = 304
                  Width = 230
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Assinatura do Vendedor'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel18: TRLLabel
                  Left = 8
                  Top = 304
                  Width = 230
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Assinatura do Cliente'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel15: TRLLabel
                  Left = 27
                  Top = 293
                  Width = 192
                  Height = 14
                  AutoSize = False
                  Caption = 
                    '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                    '- - - - '
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLTotalItens: TRLLabel
                  Left = 437
                  Top = 59
                  Width = 70
                  Height = 14
                  Caption = 'Total do Itens:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBResultTotalItens: TRLDBResult
                  Left = 555
                  Top = 59
                  Width = 159
                  Height = 14
                  Alignment = taRightJustify
                  DataField = 'ITENSPED_VALORTOTAL'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  Info = riSum
                  ParentFont = False
                end
                object RLLabelFormaPagto: TRLLabel
                  Left = 289
                  Top = 173
                  Width = 140
                  Height = 15
                  Alignment = taCenter
                  Caption = 'FORMA DE PAGAMENTO'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLTotalICMS: TRLLabel
                  Left = 437
                  Top = -100
                  Width = 71
                  Height = 14
                  Caption = 'Total do ICMS:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  Visible = False
                end
                object RLDBResultTotalICMS: TRLDBResult
                  Left = 655
                  Top = -100
                  Width = 59
                  Height = 14
                  Alignment = taRightJustify
                  DataField = 'ICMS'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  Info = riSum
                  ParentFont = False
                  Visible = False
                end
                object RLLabelTotalIPI: TRLLabel
                  Left = 437
                  Top = -83
                  Width = 57
                  Height = 14
                  Caption = 'Total do IPI:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  Visible = False
                end
                object RLDBResultTotalIPI: TRLDBResult
                  Left = 669
                  Top = -83
                  Width = 45
                  Height = 14
                  Alignment = taRightJustify
                  DataField = 'IPI'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  Info = riSum
                  ParentFont = False
                  Visible = False
                end
                object RLLabelDesconto: TRLLabel
                  Left = 437
                  Top = 78
                  Width = 52
                  Height = 14
                  Caption = 'Desconto:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBTextDesconto: TRLDBText
                  Left = 607
                  Top = 78
                  Width = 107
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'PED_VALORDESCONTO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBTextDescontoBeforePrint
                end
                object RLLabelTracejado: TRLLabel
                  Left = 437
                  Top = 128
                  Width = 280
                  Height = 15
                  Alignment = taRightJustify
                  AutoSize = False
                  Caption = 
                    '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                    '- - - - - - - -'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabelValorPedido: TRLLabel
                  Left = 437
                  Top = 141
                  Width = 93
                  Height = 15
                  Caption = 'Valor do Pedido:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel20: TRLLabel
                  Left = 102
                  Top = 192
                  Width = 86
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Vencimento'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel21: TRLLabel
                  Left = 18
                  Top = 192
                  Width = 85
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Caption = 'Valor'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo4: TRLMemo
                  Left = 18
                  Top = 209
                  Width = 85
                  Height = 74
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel22: TRLLabel
                  Left = 189
                  Top = 192
                  Width = 85
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Caption = 'Valor'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel23: TRLLabel
                  Left = 274
                  Top = 192
                  Width = 86
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Vencimento'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo5: TRLMemo
                  Left = 189
                  Top = 209
                  Width = 86
                  Height = 74
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel24: TRLLabel
                  Left = 5
                  Top = 59
                  Width = 26
                  Height = 14
                  Caption = 'Obs:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel25: TRLLabel
                  Left = 445
                  Top = 192
                  Width = 86
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Vencimento'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel26: TRLLabel
                  Left = 362
                  Top = 192
                  Width = 85
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Caption = 'Valor'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo6: TRLMemo
                  Left = 362
                  Top = 209
                  Width = 85
                  Height = 74
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo7: TRLMemo
                  Left = 617
                  Top = 209
                  Width = 86
                  Height = 74
                  Alignment = taCenter
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel27: TRLLabel
                  Left = 617
                  Top = 192
                  Width = 86
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Vencimento'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel28: TRLLabel
                  Left = 534
                  Top = 192
                  Width = 85
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Caption = 'Valor'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLMemo8: TRLMemo
                  Left = 534
                  Top = 209
                  Width = 85
                  Height = 74
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLMemo4BeforePrint
                end
                object RLLabel29: TRLLabel
                  Left = 499
                  Top = 293
                  Width = 192
                  Height = 14
                  AutoSize = False
                  Caption = 
                    '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' +
                    '- - - - '
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLLabel30: TRLLabel
                  Left = 483
                  Top = 304
                  Width = 230
                  Height = 14
                  Alignment = taCenter
                  AutoSize = False
                  Caption = 'Assinatura do Gerente Comercial'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBMemoObs: TRLMemo
                  Left = 5
                  Top = 93
                  Width = 423
                  Height = 71
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBMemoObsBeforePrint
                end
                object RLDrawLinhaTotal: TRLLabel
                  Left = -1
                  Top = 37
                  Width = 722
                  Height = 17
                  AutoSize = False
                  Borders.Sides = sdCustom
                  Borders.DrawLeft = False
                  Borders.DrawTop = False
                  Borders.DrawRight = False
                  Borders.DrawBottom = True
                  BeforePrint = RLDrawLinhaTotalBeforePrint
                end
                object RLLabelCredito: TRLLabel
                  Left = 437
                  Top = 94
                  Width = 40
                  Height = 14
                  Caption = 'Cr'#233'dito:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RLDBTextCredito: TRLDBText
                  Left = 607
                  Top = 94
                  Width = 107
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'PED_VALOR_CREDITO'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBTextCreditoBeforePrint
                end
                object RLDBText11: TRLDBText
                  Left = 607
                  Top = 142
                  Width = 107
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'PED_VALORFINAL'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText11BeforePrint
                end
                object rlsaldo: TRLLabel
                  Left = 37
                  Top = 59
                  Width = 391
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = [fsBold]
                  ParentFont = False
                end
                object RLLabel37: TRLLabel
                  Left = 37
                  Top = 75
                  Width = 391
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = [fsBold]
                  ParentFont = False
                end
                object RLDBText28: TRLDBText
                  Left = 608
                  Top = 112
                  Width = 107
                  Height = 14
                  Alignment = taRightJustify
                  AutoSize = False
                  DataField = 'PED_VALOR_TOTAL_IPI'
                  DataSource = DSRelatorio
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                  BeforePrint = RLDBText28BeforePrint
                end
                object RLLabel38: TRLLabel
                  Left = 439
                  Top = 112
                  Width = 16
                  Height = 14
                  Caption = 'IPI:'
                  Font.Charset = DEFAULT_CHARSET
                  Font.Color = clBlack
                  Font.Height = -11
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
              end
              object RLAngleLabel1: TRLAngleLabel
                Left = 72
                Top = 352
                Width = 132
                Height = 132
                Angle = 45.000000000000000000
                Caption = 'PEDIDO SEM FECHAMETO'
                Font.Charset = DEFAULT_CHARSET
                Font.Color = clGray
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                BeforePrint = RLAngleLabel1BeforePrint
              end
            end
            object DBDTFechamento: TDBDateEdit
              Left = 201
              Top = 19
              Width = 108
              Height = 22
              DataField = 'PED_DATAFECHAMENTO'
              DataSource = dsCadastro
              Ctl3D = False
              ButtonWidth = 26
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 17
            end
            object DBLookupComboBox1: TDBLookupComboBox
              Left = 146
              Top = 71
              Width = 194
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o'
              Ctl3D = False
              DataField = 'PED_LOCAL'
              DataSource = dsCadastro
              KeyField = 'LOC_CODIGO'
              ListField = 'LOC_DESCRICAO'
              ListSource = DSLocal
              ParentCtl3D = False
              TabOrder = 18
              OnExit = DBLCBVendedorExit
              OnKeyDown = DBLCBVendedorKeyDown
            end
          end
          object TSItensPedido: TTabSheet
            Tag = 6
            Caption = 'Itens do Pedido'
            ImageIndex = 1
            object Label24: TLabel
              Tag = 6
              Left = 181
              Top = 78
              Width = 72
              Height = 16
              Caption = 'Produto (F8)'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label66: TLabel
              Tag = 6
              Left = 4
              Top = 78
              Width = 72
              Height = 16
              Caption = 'Cod Produto'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label14: TLabel
              Tag = 6
              Left = 92
              Top = 78
              Width = 68
              Height = 16
              Caption = 'Ref Produto'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label6: TLabel
              Left = 181
              Top = 7
              Width = 136
              Height = 16
              Caption = 'Local baixa do Estoque'
            end
            object Label35: TLabel
              Tag = 6
              Left = 181
              Top = 228
              Width = 66
              Height = 16
              Alignment = taCenter
              Caption = 'Quantidade'
            end
            object Label18: TLabel
              Tag = 6
              Left = 370
              Top = 228
              Width = 78
              Height = 16
              Caption = 'Valor Unit'#225'rio'
            end
            object Label19: TLabel
              Tag = 6
              Left = 499
              Top = 228
              Width = 62
              Height = 16
              Caption = 'Valor Total'
            end
            object Label17: TLabel
              Tag = 6
              Left = 581
              Top = 228
              Width = 48
              Height = 16
              Caption = '% ICMS'
            end
            object Label20: TLabel
              Tag = 6
              Left = 662
              Top = 228
              Width = 31
              Height = 16
              Caption = '% IPI'
            end
            object Label21: TLabel
              Tag = 6
              Left = 711
              Top = 228
              Width = 57
              Height = 16
              Caption = '% Comis.'
            end
            object Label33: TLabel
              Tag = 6
              Left = 181
              Top = 126
              Width = 80
              Height = 16
              Caption = 'Complemento'
            end
            object Label39: TLabel
              Tag = 6
              Left = 288
              Top = 228
              Width = 68
              Height = 16
              Caption = 'Valor Custo'
            end
            object Label43: TLabel
              Left = 183
              Top = 33
              Width = 83
              Height = 16
              Caption = 'Local Estoque'
            end
            object DBLCBProdutoMercadoria: TDBLookupComboBox
              Tag = 6
              Left = 181
              Top = 96
              Width = 588
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o - (F7) Todos - (F8) Cliente'
              Ctl3D = False
              DataField = 'ITENSPED_PRODUTO'
              DataSource = DSItens
              KeyField = 'PROD_CODIGO'
              ListField = 'PROD_DESCRICAOSAI'
              ListSource = DSProduto_Mercadoria
              ParentCtl3D = False
              ParentShowHint = False
              ShowHint = True
              TabOrder = 4
              OnExit = DBLCBProdutoMercadoriaExit
              OnKeyDown = DBLCBProdutoMercadoriaKeyDown
            end
            object EdCodProdutoMercadoria: TEdit
              Tag = 6
              Left = 4
              Top = 96
              Width = 80
              Height = 22
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 2
              OnExit = EdCodProdutoMercadoriaExit
            end
            object EdRefProdutoMercadoria: TEdit
              Tag = 6
              Left = 92
              Top = 96
              Width = 80
              Height = 22
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 3
              OnExit = EdRefProdutoMercadoriaExit
            end
            object DBLLocalItens: TDBLookupComboBox
              Tag = 6
              Left = 181
              Top = 49
              Width = 251
              Height = 22
              Ctl3D = False
              DataField = 'ITENSPED_LOCAL'
              DataSource = DSItens
              KeyField = 'LOC_CODIGO'
              ListField = 'LOC_DESCRICAO'
              ListSource = DSLocal
              ParentCtl3D = False
              TabOrder = 1
              OnExit = DBLLocalItensExit
              OnKeyDown = DBLLocalBaixaEstoquePedKeyDown
            end
            object RxDBValorUnitario: TRxDBCalcEdit
              Tag = 6
              Left = 361
              Top = 244
              Width = 90
              Height = 23
              DataField = 'ITENSPED_VALORUNIT'
              DataSource = DSItens
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 7
              OnExit = RxDBValorUnitarioExit
            end
            object RxDBValorTotal: TRxDBCalcEdit
              Tag = 6
              Left = 454
              Top = 244
              Width = 108
              Height = 23
              DataField = 'ITENSPED_VALORTOTAL'
              DataSource = DSItens
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 8
            end
            object RxDBCQtd: TRxDBCalcEdit
              Tag = 6
              Left = 181
              Top = 244
              Width = 84
              Height = 23
              DataField = 'ITENSPED_QUANTIDADE'
              DataSource = DSItens
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 5
              OnExit = RxDBCQtdExit
            end
            object RxDBCICMS: TRxDBCalcEdit
              Tag = 6
              Left = 566
              Top = 244
              Width = 62
              Height = 23
              DataField = 'ITENSPED_PERC_ICMS'
              DataSource = DSItens
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 9
            end
            object RxDBCIPI: TRxDBCalcEdit
              Tag = 6
              Left = 634
              Top = 244
              Width = 61
              Height = 23
              DataField = 'ITENSPED_PERC_IPI'
              DataSource = DSItens
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 10
            end
            object RxDBCComisaoVendedor: TRxDBCalcEdit
              Tag = 6
              Left = 702
              Top = 244
              Width = 61
              Height = 23
              DataField = 'ITENSPED_PERC_COMISSAO_VENDEDOR'
              DataSource = DSItens
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 11
            end
            object PanelComplemento: TPanel
              Tag = 6
              Left = 181
              Top = 143
              Width = 587
              Height = 80
              BorderStyle = bsSingle
              Color = clWhite
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 13
              object DBEComplemento: TDBEdit
                Tag = 6
                Left = 1
                Top = 0
                Width = 580
                Height = 14
                BorderStyle = bsNone
                Ctl3D = False
                DataField = 'ITENSPED_COMPLEMENTOPRODUTO'
                DataSource = DSItens
                MaxLength = 50
                ParentCtl3D = False
                TabOrder = 0
                OnExit = DBEComplementoExit
              end
              object DBEComplemento2: TDBEdit
                Tag = 6
                Left = 1
                Top = 15
                Width = 580
                Height = 13
                BorderStyle = bsNone
                Ctl3D = False
                DataField = 'ITENSPED_COMPLEMENTOPRODUTO_2'
                DataSource = DSItens
                MaxLength = 50
                ParentCtl3D = False
                TabOrder = 1
                OnExit = DBEComplementoExit
              end
              object DBEComplemento3: TDBEdit
                Tag = 6
                Left = 1
                Top = 30
                Width = 580
                Height = 13
                BorderStyle = bsNone
                Ctl3D = False
                DataField = 'ITENSPED_COMPLEMENTOPRODUTO_3'
                DataSource = DSItens
                MaxLength = 50
                ParentCtl3D = False
                TabOrder = 2
                OnExit = DBEComplementoExit
              end
              object DBEComplemento4: TDBEdit
                Tag = 6
                Left = 1
                Top = 44
                Width = 580
                Height = 14
                BorderStyle = bsNone
                Ctl3D = False
                DataField = 'ITENSPED_COMPLEMENTOPRODUTO_4'
                DataSource = DSItens
                MaxLength = 50
                ParentCtl3D = False
                TabOrder = 3
                OnExit = DBEComplementoExit
              end
              object DBEComplemento5: TDBEdit
                Tag = 6
                Left = 1
                Top = 59
                Width = 580
                Height = 14
                BorderStyle = bsNone
                Ctl3D = False
                DataField = 'ITENSPED_COMPLEMENTOPRODUTO_5'
                DataSource = DSItens
                MaxLength = 50
                ParentCtl3D = False
                TabOrder = 4
                OnExit = DBEComplementoExit
              end
            end
            object btnConsultaEstoque: TBitBtn
              Tag = 6
              Left = 4
              Top = 49
              Width = 150
              Height = 26
              Caption = '&Consulta Estoque'
              TabOrder = 0
              OnClick = btnConsultaEstoqueClick
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                04000000000000010000130B0000130B00001000000000000000000000000000
                800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                33033333333333333F7F3333333333333000333333333333F777333333333333
                000333333333333F777333333333333000333333333333F77733333333333300
                033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                333333773FF77333333333370007333333333333777333333333}
              NumGlyphs = 2
            end
            object RxDBCValorCusto: TRxDBCalcEdit
              Tag = 6
              Left = 268
              Top = 244
              Width = 90
              Height = 23
              DataField = 'ITENSPED_VALORCUSTO'
              DataSource = DSItens
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 6
              OnExit = RxDBCValorCustoExit
            end
            object Panel5: TPanel
              Left = 0
              Top = 0
              Width = 834
              Height = 33
              Align = alTop
              TabOrder = 14
              object BitInseriItem: TBitBtn
                Tag = 6
                Left = 4
                Top = 3
                Width = 83
                Height = 25
                Caption = '&Incluir'
                TabOrder = 0
                OnClick = BitInseriItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
                  333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
                  0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
                  07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
                  07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
                  0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
                  33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
                  B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
                  3BB33773333773333773B333333B3333333B7333333733333337}
                NumGlyphs = 2
              end
              object BitEditarItem: TBitBtn
                Tag = 6
                Left = 93
                Top = 3
                Width = 84
                Height = 25
                Caption = '&Editar'
                TabOrder = 1
                OnClick = BitEditarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000120B0000120B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
                  000033333377777777773333330FFFFFFFF03FF3FF7FF33F3FF700300000FF0F
                  00F077F777773F737737E00BFBFB0FFFFFF07773333F7F3333F7E0BFBF000FFF
                  F0F077F3337773F3F737E0FBFBFBF0F00FF077F3333FF7F77F37E0BFBF00000B
                  0FF077F3337777737337E0FBFBFBFBF0FFF077F33FFFFFF73337E0BF0000000F
                  FFF077FF777777733FF7000BFB00B0FF00F07773FF77373377373330000B0FFF
                  FFF03337777373333FF7333330B0FFFF00003333373733FF777733330B0FF00F
                  0FF03333737F37737F373330B00FFFFF0F033337F77F33337F733309030FFFFF
                  00333377737FFFFF773333303300000003333337337777777333}
                NumGlyphs = 2
              end
              object BitExcluirItem: TBitBtn
                Tag = 6
                Left = 182
                Top = 3
                Width = 84
                Height = 25
                Caption = '&Excluir'
                TabOrder = 2
                OnClick = BitExcluirItemClick
                Glyph.Data = {
                  B2050000424DB205000000000000360400002800000012000000130000000100
                  0800000000007C010000C30E0000C30E00000001000000000000000000007B00
                  0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
                  730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
                  840008528400105284002963840008528C00085A8C00185A8C0018638C002963
                  8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
                  9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
                  A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
                  BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
                  BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
                  CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
                  D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
                  DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
                  DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
                  EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
                  FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
                  FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
                  3939393939393939393939690000396939393939393939393939393939396939
                  0000396969393910101010101010101010693939000039696969000000000000
                  0000000069693939000039396969007879797978797979696939393900003939
                  3969697903030303030379691039393900003939396969697978797979786969
                  1039393900003939393969696903030369696900103939390000393939390069
                  6969797869697900103939390000393939390079036969696903790010393939
                  0000393939390079796969696978790010393939000039393939007903696969
                  6900000010393939000039393939007869697900696979001039393900003939
                  3939006969697900696969693939393900003939396969697978790079003969
                  6939393900003969696969000000000000393939696939390000396969693939
                  3939393939393939393969390000393939393939393939393939393939393969
                  00003939393939393939393939393939393939390000}
              end
              object DBNitens: TDBNavigator
                Tag = 11
                Left = 731
                Top = 5
                Width = 96
                Height = 25
                DataSource = DSItens
                VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
                TabOrder = 3
              end
              object stregitens: TStaticText
                Left = 611
                Top = 9
                Width = 117
                Height = 20
                Alignment = taRightJustify
                Caption = ' Reg: 10000/10000 '
                TabOrder = 4
              end
            end
            object Panel6: TPanel
              Left = 0
              Top = 294
              Width = 834
              Height = 30
              Align = alBottom
              TabOrder = 12
              object BitSalvarItem: TBitBtn
                Tag = 6
                Left = 651
                Top = 4
                Width = 84
                Height = 26
                Caption = '&Salvar'
                TabOrder = 0
                OnClick = BitSalvarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333330070
                  7700333333337777777733333333008088003333333377F73377333333330088
                  88003333333377FFFF7733333333000000003FFFFFFF77777777000000000000
                  000077777777777777770FFFFFFF0FFFFFF07F3333337F3333370FFFFFFF0FFF
                  FFF07F3FF3FF7FFFFFF70F00F0080CCC9CC07F773773777777770FFFFFFFF039
                  99337F3FFFF3F7F777F30F0000F0F09999937F7777373777777F0FFFFFFFF999
                  99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                  99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                  93337FFFF7737777733300000033333333337777773333333333}
                NumGlyphs = 2
              end
              object BitCancelarItem: TBitBtn
                Tag = 6
                Left = 747
                Top = 4
                Width = 84
                Height = 26
                Caption = '&Cancelar'
                TabOrder = 1
                OnClick = BitCancelarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                  3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
                  33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
                  993337777F777F3377F3393999707333993337F77737333337FF993399933333
                  399377F3777FF333377F993339903333399377F33737FF33377F993333707333
                  399377F333377FF3377F993333101933399377F333777FFF377F993333000993
                  399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
                  99333773FF777F777733339993707339933333773FF7FFF77333333999999999
                  3333333777333777333333333999993333333333377777333333}
                NumGlyphs = 2
              end
            end
            object BitBtn1: TBitBtn
              Tag = 6
              Left = 4
              Top = 143
              Width = 150
              Height = 26
              Caption = 'Consulta Itens'
              TabOrder = 15
              OnClick = BitBtn1Click
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                0400000000000001000000000000000000001000000000000000000000000000
                8000008000000080800080000000800080008080000080808000C0C0C0000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                33033333333333333F7F3333333333333000333333333333F777333333333333
                000333333333333F777333333333333000333333333333F77733333333333300
                033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                333333773FF77333333333370007333333333333777333333333}
              NumGlyphs = 2
            end
            object RxDBCalcCV: TRxDBCalcEdit
              Left = 106
              Top = 226
              Width = 43
              Height = 21
              DataField = 'ITENSPED_CV'
              DataSource = DSItens
              ReadOnly = True
              DecimalPlaces = 15
              NumGlyphs = 2
              TabOrder = 16
              Visible = False
            end
            object BitBtn2: TBitBtn
              Tag = 3
              Left = 4
              Top = 169
              Width = 150
              Height = 26
              Caption = 'Consultar Compras'
              TabOrder = 17
              OnClick = BitBtn2Click
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                0400000000000001000000000000000000001000000000000000000000000000
                8000008000000080800080000000800080008080000080808000C0C0C0000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                33033333333333333F7F3333333333333000333333333333F777333333333333
                000333333333333F777333333333333000333333333333F77733333333333300
                033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                333333773FF77333333333370007333333333333777333333333}
              NumGlyphs = 2
            end
          end
          object TSValores: TTabSheet
            Caption = 'Valores'
            ImageIndex = 2
            object Label22: TLabel
              Left = 10
              Top = 10
              Width = 132
              Height = 16
              Caption = 'Valor total do(s) Iten(s)'
            end
            object Label23: TLabel
              Left = 10
              Top = 39
              Width = 113
              Height = 16
              Caption = 'Valor total do ICMS'
            end
            object Label25: TLabel
              Left = 10
              Top = 69
              Width = 96
              Height = 16
              Caption = 'Valor total do IPI'
            end
            object Label26: TLabel
              Left = 10
              Top = 98
              Width = 107
              Height = 16
              Caption = 'Valor do Desconto'
            end
            object Label27: TLabel
              Left = 10
              Top = 177
              Width = 75
              Height = 16
              Caption = 'Valor L'#237'quido'
            end
            object Label38: TLabel
              Left = 10
              Top = 128
              Width = 93
              Height = 16
              Caption = 'Valor do Cr'#233'dito'
            end
            object RxDBCValorItens: TRxDBCalcEdit
              Left = 149
              Top = 7
              Width = 77
              Height = 24
              DataField = 'PED_VALOR'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 0
            end
            object RxDBCTotalICMS: TRxDBCalcEdit
              Left = 149
              Top = 37
              Width = 77
              Height = 23
              DataField = 'PED_VALOR_TOTAL_ICMS'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 1
            end
            object RxDBCTotalIPI: TRxDBCalcEdit
              Left = 149
              Top = 66
              Width = 77
              Height = 24
              DataField = 'PED_VALOR_TOTAL_IPI'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 2
            end
            object RxDBCDesconto: TRxDBCalcEdit
              Left = 149
              Top = 96
              Width = 77
              Height = 23
              DataField = 'PED_VALORDESCONTO'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 3
              OnExit = RxDBCDescontoExit
            end
            object RxDBCValorLiquido: TRxDBCalcEdit
              Left = 149
              Top = 175
              Width = 77
              Height = 23
              TabStop = False
              DataField = 'PED_VALORFINAL'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 5
            end
            object RxDBCCredito: TRxDBCalcEdit
              Left = 149
              Top = 126
              Width = 77
              Height = 23
              TabStop = False
              DataField = 'PED_VALOR_CREDITO'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '0.,00##'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 4
              OnExit = RxDBCCreditoExit
            end
          end
          object TSComplemento: TTabSheet
            Caption = 'Complemento'
            ImageIndex = 3
            object Label28: TLabel
              Left = 4
              Top = 69
              Width = 24
              Height = 16
              Caption = 'Obs'
            end
            object Label37: TLabel
              Left = 4
              Top = 10
              Width = 86
              Height = 16
              Caption = 'Transportadora'
            end
            object DBMemo1: TDBMemo
              Left = 5
              Top = 86
              Width = 656
              Height = 92
              Ctl3D = False
              DataField = 'PED_OBSERVACAO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 2
            end
            object dblTransportadora: TDBLookupComboBox
              Left = 4
              Top = 30
              Width = 494
              Height = 22
              Ctl3D = False
              DataField = 'PED_TRANSPORTADORA'
              DataSource = dsCadastro
              KeyField = 'TRANS_CODIGO'
              ListField = 'TRANS_NOME'
              ListSource = dsTransportadora
              ParentCtl3D = False
              TabOrder = 0
            end
            object DBRGFrete: TDBRadioGroup
              Left = 508
              Top = 10
              Width = 150
              Height = 59
              Caption = '  Frete  '
              Ctl3D = False
              DataField = 'PED_FRETE'
              DataSource = dsCadastro
              Items.Strings = (
                'Emitente'
                'Destinat'#225'rio')
              ParentCtl3D = False
              TabOrder = 1
              Values.Strings = (
                '1'
                '2')
            end
          end
        end
      end
    end
    inherited tsUsuario: TTabSheet
      object GroupBox2: TGroupBox
        Left = 0
        Top = 309
        Width = 210
        Height = 129
        Caption = '  Cancelamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 4
        object lbHoraCancelamento: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataCancelamento: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioCancelamento: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object GroupBox3: TGroupBox
        Left = 0
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Fechamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 5
        object lbHoraFechamento: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataFechamento: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioFechamento: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object gbpagamento: TGroupBox
        Left = 422
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Pagamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 6
        object lbHoraPagamento: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataPagamento: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioPagamento: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object gbcancelpag: TGroupBox
        Left = 633
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Cancelamento Pagamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 7
        object lbHoraCancelPag: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataCancelPag: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioCancelPag: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object GroupBox4: TGroupBox
        Left = 211
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Desf. Fechamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 8
        object Label32: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object Label40: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object Label41: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    Left = 784
    Top = 144
    object Pago1: TMenuItem [3]
      Caption = 'Pago'
      OnClick = Pago1Click
    end
  end
  inherited dsCadastro: TDataSource
    Left = 240
    Top = 272
  end
  inherited QCadastro: TQuery
    AfterPost = QCadastroAfterPost
    SQL.Strings = (
      'SELECT'
      '*'
      'FROM'
      '  PEDIDOVENDA    Order By Ped_Codigo'
      '')
    Left = 288
    Top = 272
  end
  inherited dspCadastro: TDataSetProvider
    Left = 280
    Top = 312
  end
  inherited cdsCadastro: TClientDataSet
    Left = 232
    Top = 312
    object cdsCadastroPED_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'PED_CODIGO'
    end
    object cdsCadastroPED_NUMEROCLIENTE: TStringField
      FieldName = 'PED_NUMEROCLIENTE'
      Size = 15
    end
    object cdsCadastroPED_DATA: TDateTimeField
      Alignment = taCenter
      DisplayLabel = 'Data Pedido'
      FieldName = 'PED_DATA'
    end
    object cdsCadastroPED_CLIENTE: TIntegerField
      FieldName = 'PED_CLIENTE'
    end
    object cdsCadastroPED_SOLICITANTE: TStringField
      FieldName = 'PED_SOLICITANTE'
      Size = 30
    end
    object cdsCadastroPED_NATUREZA: TSmallintField
      FieldName = 'PED_NATUREZA'
    end
    object cdsCadastroPED_ATENDENTE: TStringField
      FieldName = 'PED_ATENDENTE'
      Size = 30
    end
    object cdsCadastroPED_VENDEDOR: TIntegerField
      DisplayLabel = 'Vendedor'
      FieldName = 'PED_VENDEDOR'
    end
    object cdsCadastroPED_PERCCOMISSAO: TFloatField
      FieldName = 'PED_PERCCOMISSAO'
    end
    object cdsCadastroPED_VALOR: TFloatField
      FieldName = 'PED_VALOR'
    end
    object cdsCadastroPED_PERCDESCONTO: TFloatField
      FieldName = 'PED_PERCDESCONTO'
    end
    object cdsCadastroPED_VALORDESCONTO: TFloatField
      FieldName = 'PED_VALORDESCONTO'
    end
    object cdsCadastroPED_VALORFINAL: TFloatField
      DisplayLabel = 'Valor Final'
      FieldName = 'PED_VALORFINAL'
      DisplayFormat = '0#,.00'
    end
    object cdsCadastroPED_SITUACAO: TSmallintField
      Alignment = taCenter
      DisplayLabel = 'Pg'
      FieldName = 'PED_SITUACAO'
    end
    object cdsCadastroPED_DATASITUACAO: TDateTimeField
      FieldName = 'PED_DATASITUACAO'
    end
    object cdsCadastroUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsCadastroDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroPED_OBS: TMemoField
      FieldName = 'PED_OBS'
      BlobType = ftMemo
      Size = 257
    end
    object cdsCadastroFORMA_PAGAMENTO_LOGISTICA: TIntegerField
      FieldName = 'FORMA_PAGAMENTO_LOGISTICA'
    end
    object cdsCadastroUSUARIO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'USUARIO_CANCELAMENTO_LOGISTICA'
      Size = 10
    end
    object cdsCadastroMOTIVO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'MOTIVO_CANCELAMENTO_LOGISTICA'
      Size = 80
    end
    object cdsCadastroPED_QTD_ITENS: TIntegerField
      FieldName = 'PED_QTD_ITENS'
    end
    object cdsCadastroPED_VALOR_UNITARIO: TFloatField
      FieldName = 'PED_VALOR_UNITARIO'
    end
    object cdsCadastroVOLUME_TOTAL_LOGISTICA: TFloatField
      FieldName = 'VOLUME_TOTAL_LOGISTICA'
    end
    object cdsCadastroDATA_HIDROMETRO1_LOGISITCA: TDateTimeField
      FieldName = 'DATA_HIDROMETRO1_LOGISITCA'
    end
    object cdsCadastroNUMERO_HIDROMETRO1_LOGISTICA: TIntegerField
      FieldName = 'NUMERO_HIDROMETRO1_LOGISTICA'
    end
    object cdsCadastroDATA_HIDROMETRO2_LOGISITCA: TDateTimeField
      FieldName = 'DATA_HIDROMETRO2_LOGISITCA'
    end
    object cdsCadastroNUMERO_HIDROMETRO2_LOGISTICA: TIntegerField
      FieldName = 'NUMERO_HIDROMETRO2_LOGISTICA'
    end
    object cdsCadastroDATA_HIDROMETRO_FIM_LOGISITCA: TDateTimeField
      FieldName = 'DATA_HIDROMETRO_FIM_LOGISITCA'
    end
    object cdsCadastroNUMERO_HIDROMETRO_FIM_LOGISTICA: TIntegerField
      FieldName = 'NUMERO_HIDROMETRO_FIM_LOGISTICA'
    end
    object cdsCadastroINFORMANT_HIDROMETRO1_LOGISTICA: TStringField
      FieldName = 'INFORMANT_HIDROMETRO1_LOGISTICA'
    end
    object cdsCadastroINFORMANT_HIDROMETRO2_LOGISTICA: TStringField
      FieldName = 'INFORMANT_HIDROMETRO2_LOGISTICA'
    end
    object cdsCadastroPED_FECHADO: TSmallintField
      FieldName = 'PED_FECHADO'
    end
    object cdsCadastroPED_VALOR_UNITARIO_LOGISTICA: TFloatField
      FieldName = 'PED_VALOR_UNITARIO_LOGISTICA'
    end
    object cdsCadastroPED_VALOR_TOTAL_LOGISTICA: TFloatField
      FieldName = 'PED_VALOR_TOTAL_LOGISTICA'
    end
    object cdsCadastroCODIGO_EMPRESA: TIntegerField
      FieldName = 'CODIGO_EMPRESA'
    end
    object cdsCadastroPED_COD_NOTAFISCA: TIntegerField
      FieldName = 'PED_COD_NOTAFISCA'
    end
    object cdsCadastroNOTA_FISCAL_MANUAL: TStringField
      FieldName = 'NOTA_FISCAL_MANUAL'
      Size = 10
    end
    object cdsCadastroDATA_NOTA_FISCAL_MANUAL: TDateTimeField
      FieldName = 'DATA_NOTA_FISCAL_MANUAL'
    end
    object cdsCadastroPED_NUMERO_NOTA_FISCAL: TIntegerField
      FieldName = 'PED_NUMERO_NOTA_FISCAL'
    end
    object cdsCadastroPED_LOCAL: TIntegerField
      FieldName = 'PED_LOCAL'
    end
    object cdsCadastroPED_TIP_VENDA: TIntegerField
      FieldName = 'PED_TIP_VENDA'
    end
    object cdsCadastroPED_COBRANCA: TIntegerField
      FieldName = 'PED_COBRANCA'
    end
    object cdsCadastroPED_ATENDENTE_CLI: TStringField
      FieldName = 'PED_ATENDENTE_CLI'
      Size = 100
    end
    object cdsCadastroPED_CONTATO_CLI: TStringField
      FieldName = 'PED_CONTATO_CLI'
      Size = 100
    end
    object cdsCadastroPED_DATA_ENTREGA: TDateTimeField
      FieldName = 'PED_DATA_ENTREGA'
    end
    object cdsCadastroPED_VALOR_TOTAL_ICMS: TFloatField
      FieldName = 'PED_VALOR_TOTAL_ICMS'
    end
    object cdsCadastroPED_VALOR_TOTAL_IPI: TFloatField
      FieldName = 'PED_VALOR_TOTAL_IPI'
    end
    object cdsCadastroPED_OBSERVACAO: TStringField
      FieldName = 'PED_OBSERVACAO'
      Size = 255
    end
    object cdsCadastroPED_CV: TFloatField
      FieldName = 'PED_CV'
    end
    object cdsCadastroPED_TRANSPORTADORA: TIntegerField
      FieldName = 'PED_TRANSPORTADORA'
    end
    object cdsCadastroPED_FRETE: TIntegerField
      FieldName = 'PED_FRETE'
    end
    object cdsCadastroPED_MOTIVO_CANCELAMENTO: TStringField
      FieldName = 'PED_MOTIVO_CANCELAMENTO'
      Size = 255
    end
    object cdsCadastroPED_VALOR_CREDITO: TFloatField
      FieldName = 'PED_VALOR_CREDITO'
    end
    object cdsCadastroPED_FORMA_PAGTO: TIntegerField
      FieldName = 'PED_FORMA_PAGTO'
    end
    object cdsCadastroPED_ORIGEM: TStringField
      FieldName = 'PED_ORIGEM'
    end
    object cdsCadastroPED_GERA_NF_BLOQUEADO: TStringField
      FieldName = 'PED_GERA_NF_BLOQUEADO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPED_AVISO: TStringField
      FieldName = 'PED_AVISO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroPED_CLIENTE_DESC: TStringField
      DisplayLabel = 'Cliente'
      FieldName = 'PED_CLIENTE_DESC'
      Size = 60
    end
    object cdsCadastroSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroDATA_CANCELAMENTO: TDateTimeField
      FieldName = 'DATA_CANCELAMENTO'
    end
    object cdsCadastroUSUARIO_CANCELAMENTO: TStringField
      FieldName = 'USUARIO_CANCELAMENTO'
    end
    object cdsCadastroDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsCadastroPED_DATAFECHAMENTO: TDateTimeField
      FieldName = 'PED_DATAFECHAMENTO'
    end
    object cdsCadastroUSUARIO_FECHAMENTO: TStringField
      FieldName = 'USUARIO_FECHAMENTO'
    end
    object cdsCadastroPED_VENDEDOR_DESC: TStringField
      DisplayLabel = 'Vendedor'
      FieldName = 'PED_VENDEDOR_DESC'
      Size = 40
    end
    object cdsCadastroPED_PAGAMENTO: TStringField
      DisplayLabel = 'Pg'
      FieldName = 'PED_PAGAMENTO'
      FixedChar = True
      Size = 2
    end
    object cdsCadastroPED_DATAPAGAMENTO: TDateTimeField
      FieldName = 'PED_DATAPAGAMENTO'
    end
    object cdsCadastroPED_DATAPAG_CANCELAMENTO: TDateTimeField
      FieldName = 'PED_DATAPAG_CANCELAMENTO'
    end
    object cdsCadastroPED_USUARIO_PAGAMENTO: TStringField
      FieldName = 'PED_USUARIO_PAGAMENTO'
    end
    object cdsCadastroPED_USUARIO_PAG_CANCELAMENTO: TStringField
      FieldName = 'PED_USUARIO_PAG_CANCELAMENTO'
    end
    object cdsCadastroPED_USUARIO_DESF_FECHAMENTO: TStringField
      FieldName = 'PED_USUARIO_DESF_FECHAMENTO'
    end
    object cdsCadastroPED_DATA_DESF_FECHAMENTO: TDateTimeField
      FieldName = 'PED_DATA_DESF_FECHAMENTO'
    end
    object cdsCadastroPED_PEDIDO_MSIGA: TStringField
      DisplayLabel = 'N'#186' Pedido'
      FieldName = 'PED_PEDIDO_MSIGA'
      Size = 15
    end
    object cdsCadastroPED_NUMERO_COMANDA: TStringField
      DisplayLabel = 'N'#186' Comanda'
      FieldName = 'PED_NUMERO_COMANDA'
      Size = 15
    end
    object cdsCadastroPED_PESO_BRUTO: TFloatField
      FieldName = 'PED_PESO_BRUTO'
    end
    object cdsCadastroPED_PESO_LIQUIDO: TFloatField
      FieldName = 'PED_PESO_LIQUIDO'
    end
    object cdsCadastroPED_NUMERO_TALAO: TStringField
      DisplayLabel = 'N'#186' Tal'#227'o'
      FieldName = 'PED_NUMERO_TALAO'
    end
  end
  inherited dsCamposPesquisa: TDataSource
    Left = 784
    Top = 184
  end
  inherited OpenDialog1: TOpenDialog
    Left = 352
    Top = 24
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 272
    Top = 416
  end
  object DSVendedor: TDataSource
    DataSet = DMGestao.QVendedor
    Left = 472
    Top = 576
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 656
    Top = 312
  end
  object QTipoVenda: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select TipoVenda.*,'
      
        'TIPVEND_CODIGOVENDA || '#39' - '#39' || TIPVEND_DESCRICAO as cod_descric' +
        'ao'
      ' From TipoVenda'
      'order By TIPVEND_CODIGOVENDA')
    Left = 133
    Top = 544
  end
  object DSTipoVenda: TDataSource
    DataSet = QTipoVenda
    Left = 800
    Top = 224
  end
  object QProduto_Mercadoria: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From produto '
      'where '
      '(PROD_TIPO = 0) AND (PROD_ATIVO = '#39'S'#39') AND'
      '(EXCLUIDO <> '#39'S'#39' OR EXCLUIDO IS NULL)'
      'order By Prod_DescricaoSai')
    Left = 476
    Top = 368
  end
  object DSProduto_Mercadoria: TDataSource
    DataSet = QProduto_Mercadoria
    OnDataChange = DSProduto_MercadoriaDataChange
    Left = 443
    Top = 296
  end
  object DSItens: TDataSource
    DataSet = cdsItens
    OnStateChange = DSItensStateChange
    OnDataChange = DSItensDataChange
    Left = 496
    Top = 624
  end
  object QItensPedido: TQuery
    DatabaseName = 'base'
    RequestLive = True
    SQL.Strings = (
      'SELECT * FROM ITENSPEDIDOVENDA')
    Left = 744
    Top = 104
  end
  object QRelatorio: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      
        ' SELECT                                                         ' +
        '            '
      '                                      PEDIDOVENDA.*,'
      
        '                                      PEDIDOVENDA.EXCLUIDO AS PE' +
        'D_EXCLUIDO,'
      
        '                                      EMPRESA.*,                ' +
        '                            '
      
        '                                       CLIENTE.*,               ' +
        '                                  '
      '                                       ITENSPEDIDOVENDA.*,'
      
        '                                       ((ITENSPEDIDOVENDA.ITENSP' +
        'ED_VALORTOTAL / 100) * ITENSPEDIDOVENDA.ITENSPED_PERC_ICMS) as I' +
        'CMS,'
      
        '                                       ((ITENSPEDIDOVENDA.ITENSP' +
        'ED_VALORTOTAL / 100) * ITENSPEDIDOVENDA.ITENSPED_PERC_IPI) as IP' +
        'I,'
      
        '                                       PRODUTO.*                ' +
        '                                 '
      ''
      
        '                               FROM PEDIDOVENDA                 ' +
        '                               '
      ''
      
        '                                       INNER JOIN EMPRESA ON    ' +
        '                                '
      
        '                                               (EMPRESA.EMP_CODI' +
        'GO = PEDIDOVENDA.CODIGOEMPRESA)      '
      ''
      
        '                                       INNER JOIN CLIENTE ON    ' +
        '                                   '
      
        '                                               (CLIENTE.CLI_CODI' +
        'GO = PEDIDOVENDA.PED_CLIENTE)         '
      ''
      
        '                                       INNER JOIN ITENSPEDIDOVEN' +
        'DA ON                                '
      
        '                                               (ITENSPEDIDOVENDA' +
        '.ITENSPED_PEDIDO = PEDIDOVENDA.PED_CODIGO)'
      ''
      '                                       INNER JOIN PRODUTO ON'
      
        '                                               (PRODUTO.PROD_COD' +
        'IGO = ITENSPEDIDOVENDA.ITENSPED_PRODUTO)')
    Left = 64
    Top = 376
  end
  object DSRelatorio: TDataSource
    DataSet = QRelatorio
    Left = 536
    Top = 448
  end
  object RLPDFFilter1: TRLPDFFilter
    DocumentInfo.Creator = 'FortesReport v3.23 \251 Copyright '#169' 1999-2004 Fortes Inform'#225'tica'
    ViewerOptions = []
    FontEncoding = feNoEncoding
    DisplayName = 'Documento PDF'
    Left = 552
    Top = 32
  end
  object RLXLSFilter1: TRLXLSFilter
    DisplayName = 'Planilha Excel'
    Left = 888
    Top = 16
  end
  object RLRichFilter1: TRLRichFilter
    DisplayName = 'Documento Word'
    Left = 536
    Top = 304
  end
  object RLHTMLFilter1: TRLHTMLFilter
    DocumentStyle = dsCSS2
    DisplayName = 'P'#225'gina da Web - HTML'
    Left = 456
    Top = 32
  end
  object RLDraftFilter1: TRLDraftFilter
    DisplayName = 'Impress'#227'o Matricial'
    Left = 688
    Top = 96
  end
  object dsTransportadora: TDataSource
    DataSet = DMGestao.QTransportadora
    Left = 232
    Top = 560
  end
  object cdsItens: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'ITENSPED_PEDIDO'
    MasterFields = 'PED_CODIGO'
    MasterSource = dsCadastro
    PacketRecords = 0
    Params = <>
    ProviderName = 'dspItens'
    Left = 672
    Top = 120
    object cdsItensITENSPED_CODIGO: TIntegerField
      FieldName = 'ITENSPED_CODIGO'
    end
    object cdsItensITENSPED_PEDIDO: TIntegerField
      FieldName = 'ITENSPED_PEDIDO'
    end
    object cdsItensITENSPED_PRODUTO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ITENSPED_PRODUTO'
    end
    object cdsItensITENSPED_PRODUTOCLIENTE: TStringField
      FieldName = 'ITENSPED_PRODUTOCLIENTE'
      Size = 15
    end
    object cdsItensITENSPED_DESCRICAOSERVICO: TStringField
      FieldName = 'ITENSPED_DESCRICAOSERVICO'
      Size = 200
    end
    object cdsItensITENSPED_LOCAL: TIntegerField
      FieldName = 'ITENSPED_LOCAL'
    end
    object cdsItensITENSPED_QUANTIDADE: TFloatField
      Alignment = taCenter
      DisplayLabel = 'Quantidade'
      FieldName = 'ITENSPED_QUANTIDADE'
    end
    object cdsItensITENSPED_QUANTIDADEATEND: TFloatField
      Alignment = taCenter
      FieldName = 'ITENSPED_QUANTIDADEATEND'
    end
    object cdsItensITENSPED_DATAENTREGA: TDateTimeField
      FieldName = 'ITENSPED_DATAENTREGA'
    end
    object cdsItensITENSPED_VALORUNIT: TFloatField
      DisplayLabel = 'Valor Unit.'
      FieldName = 'ITENSPED_VALORUNIT'
      DisplayFormat = '#,##0.0000'
    end
    object cdsItensITENSPED_VALORTOTAL: TFloatField
      DisplayLabel = 'Valor Total'
      FieldName = 'ITENSPED_VALORTOTAL'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensITENSPED_SITUACAO: TSmallintField
      FieldName = 'ITENSPED_SITUACAO'
    end
    object cdsItensDATA_LOGISTICA: TDateTimeField
      FieldName = 'DATA_LOGISTICA'
    end
    object cdsItensVALOR_LOGISTICA: TFloatField
      FieldName = 'VALOR_LOGISTICA'
    end
    object cdsItensNUMERO_BA_LOGISTICA: TStringField
      FieldName = 'NUMERO_BA_LOGISTICA'
    end
    object cdsItensUSUARIO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'USUARIO_CANCELAMENTO_LOGISTICA'
      Size = 10
    end
    object cdsItensMOTIVO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'MOTIVO_CANCELAMENTO_LOGISTICA'
      Size = 80
    end
    object cdsItensCHAVE_CANCELADA_LOGISTICA: TIntegerField
      FieldName = 'CHAVE_CANCELADA_LOGISTICA'
    end
    object cdsItensNUMERO_TALAO_LOGISTICA: TStringField
      FieldName = 'NUMERO_TALAO_LOGISTICA'
    end
    object cdsItensITENSPED_PERC_ICMS: TFloatField
      FieldName = 'ITENSPED_PERC_ICMS'
    end
    object cdsItensITENSPED_PERC_IPI: TFloatField
      FieldName = 'ITENSPED_PERC_IPI'
    end
    object cdsItensITENSPED_PERC_COMISSAO_VENDEDOR: TFloatField
      FieldName = 'ITENSPED_PERC_COMISSAO_VENDEDOR'
    end
    object cdsItensITENSPED_CV: TFloatField
      FieldName = 'ITENSPED_CV'
    end
    object cdsItensITENSPED_VALORUNIT_CV: TFloatField
      FieldName = 'ITENSPED_VALORUNIT_CV'
      DisplayFormat = '#,##0.0000'
    end
    object cdsItensITENSPED_VALORTOTAL_CV: TFloatField
      FieldName = 'ITENSPED_VALORTOTAL_CV'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensITENSPED_COMPLEMENTOPRODUTO: TStringField
      FieldName = 'ITENSPED_COMPLEMENTOPRODUTO'
      Size = 255
    end
    object cdsItensITENSPED_COMPLEMENTOPRODUTO_2: TStringField
      FieldName = 'ITENSPED_COMPLEMENTOPRODUTO_2'
      Size = 255
    end
    object cdsItensITENSPED_COMPLEMENTOPRODUTO_3: TStringField
      FieldName = 'ITENSPED_COMPLEMENTOPRODUTO_3'
      Size = 255
    end
    object cdsItensITENSPED_COMPLEMENTOPRODUTO_4: TStringField
      FieldName = 'ITENSPED_COMPLEMENTOPRODUTO_4'
      Size = 255
    end
    object cdsItensITENSPED_COMPLEMENTOPRODUTO_5: TStringField
      FieldName = 'ITENSPED_COMPLEMENTOPRODUTO_5'
      Size = 255
    end
    object cdsItensITENSPED_VALORCUSTO: TFloatField
      FieldName = 'ITENSPED_VALORCUSTO'
    end
    object cdsItensUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsItensUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsItensUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsItensDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsItensDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsItensDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsItensEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsItensUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsItensDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsItensITENS_PED_PROD_DESC: TStringField
      DisplayLabel = 'Produto'
      DisplayWidth = 80
      FieldName = 'ITENS_PED_PROD_DESC'
      Size = 80
    end
  end
  object dspItens: TDataSetProvider
    DataSet = QItens
    Left = 160
    Top = 432
  end
  object QItens: TQuery
    DatabaseName = 'base'
    DataSource = dsCadastro
    SQL.Strings = (
      
        'SELECT * FROM ITENSPEDIDOVENDA WHERE ITENSPED_PEDIDO = :PED_CODI' +
        'GO')
    Left = 64
    Top = 344
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENSPED_PEDIDO'
        ParamType = ptUnknown
        Value = 1
      end>
  end
  object Qaux: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      
        'select (itenspedidovenda.itensped_codigo +2 )as CODIGO from iten' +
        'spedidovenda'
      'order by itenspedidovenda.itensped_codigo desc')
    Left = 664
    Top = 120
  end
end
